package edu.wpi.cs509.ui.simulators;

import java.util.TimerTask;

import edu.wpi.cs509.ui.intfc.ClientLogicNotify;
import edu.wpi.cs509.ui.intfc.GameInterface;

public class GameObservedNotfiy extends TimerTask {

	private ClientLogicNotify ui;
	private GameInterface game;
	
	public GameObservedNotfiy( ClientLogicNotify ui, GameInterface game ) {
		this.ui = ui;
		this.game = game;
	}
	
	@Override
	public void run() {
		ui.notifyGameObserved(game);
	}

}
